<script setup lang="ts">

import {ref} from "vue";

const columns = ref([
  {title: '操作人', dataIndex: 'user_name',},
  {title: '内容', dataIndex: 'content',},
  {title: '创建时间', dataIndex: 'date',},
]);
const data = ref([
  // {user_name: '123456789', content: '空闲', date: '标准',},
]);
</script>

<template>
  <a-grid-item :span="{ xs: 1, sm: 3}" class="g-collapse">
  <a-collapse :default-active-key="['1']">
    <a-collapse-item header="操作日志" key="1" class="g-collapse-no-p">
      <a-table :columns="columns" :data="data" :bordered="false" column-resizable></a-table>
    </a-collapse-item>
  </a-collapse></a-grid-item>
</template>

<style scoped>

</style>